#ifndef EDITTOOLDLG_H
#define EDITTOOLDLG_H

#include "scrollingdialog.h"

class cbTool;
class wxCommandEvent;
class wxUpdateUIEvent;

class EditToolDlg : public wxScrollingDialog {
  public:
    EditToolDlg( wxWindow* parent, cbTool* tool );
    ~EditToolDlg();
    void EndModal( int retCode );
  private:
    void OnUpdateUI( wxUpdateUIEvent& event );
    void OnBrowseCommand( wxCommandEvent& event );
    void OnBrowseDir( wxCommandEvent& event );
    cbTool* m_Tool;
    bool xml_File_lock;
    DECLARE_EVENT_TABLE()
};

#endif

